package com.jiuling.apis.model.Hmodel;
// default package

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.util.Date;


/**
 * TUser entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="t_sys_user")

public class TSysUser implements java.io.Serializable {


    private String id;
    private Short identity;
    private String identityCode;
    private String loginName;
    private String pwd;
    private String personName;
    private String roles;
    private String phone;
    private Short isLock;
    private Short isdel;
    private Date createTime;


    // Constructors

    /** default constructor */
    public TSysUser() {
    }




    // Property accessors
    @GenericGenerator(name="generator", strategy="uuid.hex")@Id @GeneratedValue(generator="generator")

    @Column(name="id", unique=true, nullable=false, length=50)

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }


    @Column(name="identity")

    public Short getIdentity() {
        return this.identity;
    }

    public void setIdentity(Short identity) {
        this.identity = identity;
    }

    @Column(name="identity_code", length=50)

    public String getIdentityCode() {
        return this.identityCode;
    }

    public void setIdentityCode(String identityCode) {
        this.identityCode = identityCode;
    }

    @Column(name="loginName")

    public String getLoginName() {
        return this.loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    @Column(name="pwd", length=100)

    public String getPwd() {
        return this.pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    @Column(name="personName", length=50)

    public String getPersonName() {
        return this.personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }


    @Column(name="roles", length=355)

    public String getRoles() {
        return this.roles;
    }

    public void setRoles(String roles) {
        this.roles = roles;
    }

    @Column(name="phone")

    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Column(name="isLock")

    public Short getIsLock() {
        return this.isLock;
    }

    public void setIsLock(Short isLock) {
        this.isLock = isLock;
    }

    @Column(name="isdel")

    public Short getIsdel() {
        return this.isdel;
    }

    public void setIsdel(Short isdel) {
        this.isdel = isdel;
    }

    @Column(name="createTime")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}